package com.class03._extends;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/4/2 11:20
 */
public class ExtendsTest {
    public static void main(String[] args) {
        Student student = new Student();
        student.eat();
        student.sleep();
        student.name="张三";
        student.age = 19;
        student.show();
        student.show1();
        student.study();
        System.out.println(student.age);
    }
}
